package www.ym.com.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import www.ym.com.dto.OrdersDto;
import www.ym.com.entity.Orders;

import java.util.List;

public interface OrdersService extends IService<Orders> {

    /**
     * 用户下单
     * @param orders
     */
    public void submit(OrdersDto orders);

    /**
     * 修改订单状态
     * @param orders
     */
    public String updateOrder(Orders orders);

    Page<Orders> Pagelist(JSONObject jsonObject);
}
